﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UC_Doithongtin.ascx.cs" Inherits="Controls_UC_Doithongtin" %>
<div id="Breadcrumb">
    <ul>
        <li><a href="Trangchu.aspx">Trang chủ</a></li>
        <li><a href="Trangcanhan.aspx">Trang cá nhân</a></li>
        <li>Thay đổi thông tin</li>
    </ul>
</div>
<div id="trangcanhan">
    <fieldset>
        <legend>Thay đổi thông tin cá nhân</legend>
        <asp:Literal ID="ltrThongbao" runat="server"></asp:Literal>
        <table width="100%" cellspacing="0" cellpadding="0" border="0" class="thongtin-canhan">
            <tbody>
                
                <tr>
                    <td width="30%" class="nhan">
                        <span class="star">*</span>Họ tên:
                    </td>
                    <td width="70%">
                        <asp:TextBox ID="txtFullName" runat="server" CssClass="select" />
                    </td>
                </tr>
                <tr>
                    <td width="30%" class="nhan">
                        <span class="star">*</span>Ngày sinh:
                    </td>
                    <td width="70%">
                        <asp:TextBox ID="txtBirthDay" CssClass="Date" runat="server" Width="150"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="30%" class="nhan">
                        <span class="star">*</span>Giới tính:
                    </td>
                    <td width="70%">
                        <asp:RadioButton ID="rdbSexNam" CssClass="gioitinh" GroupName="Gioitinh" Checked="true" runat="server" /><span
                            class="text">Nam</span>
                        <asp:RadioButton ID="rdbSexNu" CssClass="gioitinh" GroupName="Gioitinh" runat="server" /><span class="text">Nữ</span>
                    </td>
                </tr>
                <tr>
                    <td width="30%" class="nhan">
                        <span class="star">*</span>Địa chỉ:
                    </td>
                    <td width="70%">
                        <asp:TextBox CssClass="input_text" ID="txtAddress" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td width="30%" class="nhan">
                        <span class="star">*</span>Tỉnh thành:
                    </td>
                    <td width="70%">
                        
                        <asp:DropDownList ID="drlProvince" CssClass="slProvince" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td width="30%" class="nhan">
                        <span class="star">*</span>Địa chỉ Email:
                    </td>
                    <td width="70%">
                        <asp:TextBox CssClass="input_text" ID="txtMail" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td width="30%" class="nhan">
                        <span class="star">*</span>Số điện thoại:
                    </td>
                    <td width="70%">
                        <asp:TextBox MaxLength="12"  CssClass="txtPhone" ID="txtTel" runat="server" />
                        
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="clear">
        </div>
        
        <p id="button">
            <input id="btnReset" type="reset" value="Làm lại" />
            <asp:Button Text="Hoàn tất" ID="HoanTat" runat="server" 
                onclick="HoanTat_Click" />
    </fieldset>
</div>
<script type="text/javascript">
    $(".txtPhone").keypress(function (event) {
        if (event.which < 48 || event.which > 57) {
            if (event.which == 8 || event.which == 127) {
                return;
            }
            return false;
        }
    });
</script>
